{extend name="./zui/common.html" /}
{block name="body"}
<div class="container">
    <form class="form-horizontal" action="/vote/Index/doAddVote" method="post">
        <div class="form-group">
            <label for="title" class="col-sm-2 required">标题：</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="title" name="title" placeholder="title">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 required">选项：</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="option_title[]" placeholder="选项内容">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 required">选项：</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="option_title[]" placeholder="选项内容">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 required">选项：</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="option_title[]" placeholder="选项内容">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 required">选项：</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="option_title[]" placeholder="选项内容">
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-default">保存</button>
            </div>
        </div>
    </form>
</div>
{/block}